package com.msb.mall.order.web;

import com.msb.common.vo.MemberVO;
import com.msb.mall.order.interceptor.AuthInterceptor;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@Controller
public class PageController {


    @GetMapping("/{page}.html")
    public String goPage(@PathVariable("page") String page){
        MemberVO memberVO = (MemberVO) AuthInterceptor.threadLocal.get();
        System.out.println("page = " + page);
        return page;
    }

}
